<div showToolbar="true" class="mini-window" style="width: 800px;height: 600px" title="编辑脚本" id="edit-script-window">
    <style type="text/css">
        #script-editor {
            margin: 0;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            font-size: 16px;
            width: 100%;
            height: 100%;
        }

        .ace_autocomplete {
            width: 400px;
        }

        .selected-template {

        }
    </style>
    <div property="toolbar" style="padding:5px;">
        <a class="mini-button save-script">保存</a>
        <a class="mini-button" plain="true" onclick="mini.get('edit-script-window').hide()">关闭</a>
    </div>

    <div class="mini-fit">
        <pre class="script-editor" id="script-editor"></pre>
    </div>

</div>